package org.csu.code.api.vo;

import lombok.Data;

import java.math.BigDecimal;

@Data
public class ItemVO {
    //农产品名称、图片、价格、精选用户评论显示

    //item表中的字段:农产品名称name、图片attr1、价格listprice
    private int itemId;
    private int productId;
    private BigDecimal listPrice;
    //    private BigDecimal unitCost;
    private int supplierId;
    private int status;
    private String attribute1;
    private String attribute2;
    private String attribute3;
    private String name;
    private int stock;
    private double score;
    private String description;
    //    private double weight;
//    private String serve;
    private int sales;
    private String location;

    //item所属product的属性
    private int categoryId;
    private String productName;
    private String productDescription;
}
